package com.jwds.datadiscover.app.powerplant.basic.dto;

import java.util.List;

import org.hilo.boot.core.ResDto;

import com.jwds.datadiscover.app.common.dto.TimeseqValue;

/**
 * <p>
 * 查询详细数据，作为表格展示 返回类
 * </p>
 *
 * @author zollty
 * @since 2021-6-15
 */
public class GetDetailDataRes extends ResDto {
    private static final long serialVersionUID = 24866161358000L;

    /**
     * 时间序列值
     */
    private List<TimeseqValue> tv;

    /**
     * 最后一条数据的id，作为分页时下一批数据的查询起点
     */
    private String lastKey;

    public GetDetailDataRes() {
    }

    public String getLastKey() {
        return lastKey;
    }

    public void setLastKey(String lastKey) {
        this.lastKey = lastKey;
    }

    public List<TimeseqValue> getTv() {
        return tv;
    }

    public void setTv(List<TimeseqValue> tv) {
        this.tv = tv;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("GetDetailDataRes [");
        builder.append("tv=").append(tv);
        builder.append(", lastKey=").append(lastKey);
        builder.append("]");
        return builder.toString();
    }
}
